#ifndef RESPONSE_HANDLER_H
#define RESPONSE_HANDLER_H

#include <libwebsockets.h>
#include <json-c/json.h>

void send_json(struct lws *wsi, struct json_object *json);
void send_response(struct lws *wsi, const char *action, 
                   const char *status, const char *message);
void send_secret_key(struct lws *wsi, const char *action, 
                     const char *status, const char *secret_key);

#endif